{include file="$MODULES_DIR/install/templates/layout_top.html" bodyClass="dark"}
{t assignTo=title}Complete{/t}
{include file="$MODULES_DIR/install/templates/layout_tabs.html" step=7 title=$title}
{if $error == 'database'}
    <p><img src="{$URL_RELATIVE}/bo/install/media/warning.png" alt="" class="icon16" /> {t}Please process to the database configuration first.{/t}</p>
    <div class="centeredButton"><a href="{$URL_RELATIVE}/bo/install/Database" class="bigGreenButton">{t}Go to database configuration{/t} <img src="/bo/install/media/next.png" alt="" /></a></div>
{/if}
{if $error == 'user'}
    <p><img src="{$URL_RELATIVE}/bo/install/media/warning.png" alt="" class="icon16" /> {t}Please process to the administrator configuration first.{/t}</p>
    <div class="centeredButton"><a href="{$URL_RELATIVE}/bo/install/User" class="bigGreenButton">{t}Go to user account configuration{/t} <img src="/bo/install/media/next.png" alt="" /></a></div>
{/if}
{if $error == 'website'}
    <p><img src="{$URL_RELATIVE}/bo/install/media/warning.png" alt="" class="icon16" /> {t}Please process to the website configuration first.{/t}</p>
    <div class="centeredButton"><a href="{$URL_RELATIVE}/bo/install/Website" class="bigGreenButton">{t}Go to website configuration{/t} <img src="/bo/install/media/next.png" alt="" /></a></div>
{/if}
{if $error == 'success'}
    <p><img src="{$URL_RELATIVE}/bo/install/media/warning.png" alt="" class="icon16" /> {t}Your installation has already been completed. You can get you encryption key by reading the .key file in webapp/config.{/t}</p>
    <div class="centeredButton"><a href="{$URL_RELATIVE}/bo" class="bigGreenButton">{t}Go to backend{/t} <img src="/bo/install/media/next.png" alt="" /></a></div>
{/if}

{include file="$MODULES_DIR/install/templates/layout_bottom.html"}